﻿using System;
using System.Runtime.Serialization;

namespace BlueWind.Mediator.ServiceContracts.Exceptions
{
    [DataContract]
    public class Error
    {
        [DataMember]
        private string _message;

        public Error()
        {
        }

        public Error(String message)
        {
            this._message = message;
        }

        [DataMember]
        public string Message
        {
            get { return _message; }
            set { _message = value; }
        }
    }
}